Adding @try/@catch for TTransportException.