Added a try-catch block in SoundController