[TxMt] Bad file descriptor upon catching exceptions in RubyMate