make reconnect time configurable