Clean up event listener