added close-audio call to end