register task threads earlier (#8981)
register task threads earlier (#8981)

Co-authored-by: Fei Deng <2013a9def9311e90263f5c8b24ba05147c888969@yahooinc.com>
duke8253/trafficserver,duke8253/trafficserver,SolidWallOfCode/trafficserver,SolidWallOfCode/trafficserver,duke8253/trafficserver,duke8253/trafficserver,SolidWallOfCode/trafficserver,SolidWallOfCode/trafficserver,SolidWallOfCode/trafficserver,SolidWallOfCode/trafficserver,duke8253/trafficserver,SolidWallOfCode/trafficserver,duke8253/trafficserver,duke8253/trafficserver