Put in an initial sleep between queries to prevent overwhelming
the mongodb with queries when there's nothing to do.