Fixed thread processor end condition.