diff --git a/main.py b/main.py index 7c26c11..595f590 100755 --- a/main.py +++ b/main.py @@ -356,3 +356,6 @@ if __name__ == "__main__": print("[MAINTHREAD] Could take up to 60 seconds for socket timeout!") serv.die() raise SystemExit(0) + except EOFError: + while True: + serv._going_down.wait()