fix zero padding, and set seconds and ms to zero in pretty date for query.  look for last element in response for our result set
epiquery requests ahve a 10 minute timeout.  at startup, if we fail to build an index we retry every 10 minutes, up to a maximum of 10 retries