test_isolate: prevent concurrent execution