
The transition from disconnected to connected states must be done in a loop in case the transition fails, not just once and hope it worked.
The transition from disconnected to connected states must be done in a loop in case the transition fails, not just once and hope it worked.