Fix clearing of event after Epg update and time.sleep parameter missing in while loop