retry wait_for_event when it recieve interrupt