changed how worker.py looks at SQS by adding a 5 second delay max for
each query to SQS if the query is empty