multi-thread downloading by curl