fixed race condition on a audio events and hangups