'Wraps socketserver.TCPServer.shutdown, socketserver.TCPServer.server_close, and
threading.Thread.join'

def shutdown_and_server_close(self):

    for server in self.servers:
        server.shutdown()
        server.server_close()
    for thread in self.threads:
        thread.join()
    self.threads = []
