auto reconnect when connection gone bad