Support exception propagation without lock-free atomic int