Fixed deadlock in killSound.