Bug 1080362 - Make sure we remove appclosed event listener