fix for a NullPointerException caused by closing a JSBaseAudioRecordingStream while it is playing