class_docstr: Non-blocking server.
docstr: Closes the server.
docstr_tok: ["Closes","the","server","."]
code: def close(self):
      """Closes the server."""
      for _ in range(self.threads):
          self.tasks.put([None, None, None, None, None])
      self.socket.close()
      self.prepared = False
  
imports: import logging
  import select
  import socket
  import struct
  import threading
  from collections import deque
  from six.moves import queue
  from thrift.transport import TTransport
  from thrift.protocol.TBinaryProtocol import TBinaryProtocolFactory
label_desc: Use image node_id 9 for calling the TNonblockingServer obj's underlying member method code with example usage: obj.close() without return types