stopAllAudioProcesses (): Move process termination awaiting code to function