Mmmm what happen if the connection couldn't succeed ? This variable will never be resetted and no new connection will ever be open ? Can we had a failsafe ?