working threaded download