modified dowloader to resolve the mongodb cursor timeout.
fixed issues raised by @turicas
fixed issues raised by @turicas
Update downloader.py

fixed bug
Update downloader.py

Added exception handling fore when requests fails in fetching a link.
Merge pull request #27 from NAMD/fix_mongo_timeout

modified dowloader to resolve the mongodb cursor timeout.