Remove max threads