Made the reconnect command work across a client restart