def serve_forever(self, poll_interval=0.5):
    self._serve_forever_thread = threading.Thread(target=super().serve_forever, args=(poll_interval,))
    self._serve_forever_thread.start()
def serve_forever(self, poll_interval=0.5):
    self._serve_forever_thread = threading.Thread(target=super().serve_forever, args=(poll_interval,))
    self._serve_forever_thread.start()