parameters: (self)
docstring: Closes the server.
docstring_summary: Closes the server.
docstring_tokens: Closes the server .
function: def close(self):
          """Closes the server."""
          for _ in xrange(self.threads):
              self.tasks.put([None, None, None, None, None])
          self.socket.close()
          self.prepared = False
function_tokens: def close ( self ) : for _ in xrange ( self . threads ) : self . tasks . put ( [ None , None , None , None , None ] ) self . socket . close ( ) self . prepared = False