fix races in connection phase
Update tests to use more ping messages.