client: made the reconnect command work across a client restart (patch by @clearskies)