This adds the ability for a queue to be a context manager that submits when something fails