Implement Stop for the ThriftServer. Uses channels to do this in a thread safe way.