Making sure all event listeners are removed on destroy