basics of java concurrency - notes on interruptedexception