timeout and cancel control

* repl can cancel a request using Ctrl-C
* can setup login and query timeout using --timeout para