Changed the queue to automatically shutdown the workers when finished generating the models.