handle failed pi_xevents