correct order of firing onConnectionAccepted