Add jd.com to direct list.
Close idle server connection earlier to reduce open file number.
Remove some debug printing code.