Fix client not connecting to server once in a blue moon