added check to see if queue is not empty on startup and if so, resume