make sure that we're throwing interruptedexception correctly