keep alive while meeting exception in event handler