Closing service when either an IOError or Thrift::TransportException is raised.  This allows users to attempt a reconnection.