Added trap to call interrupt_wait