fix for crash when closing the audio controller when it has not been started.