test1 started cancelling (should be immediate) Foo was cancelled testing lock works test2 started cancelling (should be ignored until end of sleep, 2 seconds) should still get here Foo cancel failed testing lock works test1 started cancelling (should be immediate) Exception thrown! Foo was cancelled testing lock works