Workaround for chrome webaudio onended bug