Ensure that ThreadPoolUtils is safe even with a null executor so we can
just call it and it will do the right thing.