use different timeouts for GridFS and S3; set default MongoDB timeout to -1 ("no timeout") because of the "recv timed out" errors in the iterator
enclose MongoDB::Cursor's creation and usage into a single eval{} so in case it crashes, we can recreate it (not expecting that it will continue working manually now)
correct usage or Amazon S3 markers
print out "Done." after successfully completing an operation