retry wait_for_event when recieved iterrupt