make sure not to ping server until fully connected