Added a mutex to SoundManager due to the callback on_channel_finished is
called from audiosubsystem thread which modifies containers.