Client now automatically quits on timeout.
TODO: autoreconnect