cleaning up threaded download