diff --git a/electrum b/electrum index 8aa0a8080..90f84327a 100755 --- a/electrum +++ b/electrum @@ -131,6 +131,8 @@ def run_gui(config): if network: network.stop() + # sleep to let socket threads timeout + time.sleep(0.3) sys.exit(0)