Fixed memory leak
WavePlayer objects were being leaked if the session ended before the playback had finished