Added exception handling for sound playing dependencies