JAL-4217 interruptedExceptions should also break any wait loops