docs: def cleanup_tcpsockets(self):
          """
          Closes all TCP connections and then the socket servers
          """
          for fileno in self._tcp_client_sockets.keys():
              self.close_tcp_client(fileno)
          for fileno, items in self._tcp_server_sockets.items():
              socket, cb = items
              debug("- _cleanup server socket connection (fd %s)" % fileno)
              self._epoll.unregister(fileno)
              socket.close()
          self._tcp_server_sockets = {}