revert reconnect bug commit