Reconnect repl when disconnected