fixes #1: Crash when pressing "stop" after player has timed out. 
https://github.com/arnehaber/ocean-waves/issues/issue/1