PHOENIX-1448 Fix resource leak when work rejected by thread executor