Some convinience repl functions, fix reconnect