interruptible_wait: check for interruption immediately

Akin to 651274e5081b27f3c4b82804721d0661bf863c61