This adds the ability for a queue to be a context manager that submits w...

...hen something fails
Does this `queue` need to be changed to `q` (or vice-versa) for this example to work?