Slightly less awful thread safety test