Minor thread safety issue
Shared resume flag, safe probing of non-thread safe fields