fix unload

new cdk seems to handle event listeners to unregister themselves in the
callback so its now possible to do it like this.