Remove leaked events on client side