added event timestamp and a failsafe againast forever-fail