Fix crash when destroy if capture sound played callback is not called