Add wait for interrupt