remove onresume event listener