make reconnection option work