Fix #125 Improve release method to unlisten all previously listened wave
type