Added logging when retrying after connection issue