Added clearing the event after hanling it.