Give threadpooljob some state.