title: Stopping a Laravel Queue after it has finished running
body: <p>I am running a web application on Laravel 5.5. I have a requirement to run the jobs in a queue and then stop the queue. The queue cannot be allowed to stay running.</p>
  <p>I am running the below command but this just endlessly carries on.</p>
  <pre><code>php artisan queue:work --tries=3
  </code></pre>
  <p>If I use supervisord can I stop the queue from inside the Laravel application.</p>
  <p>Any help is really appreciated.</p>