Flushing an empty queue was causing a request error. Now it just does nothing
Merge pull request #59 from Bachmann1234/empty_queue_submit

Submitting an empty queue causes a request error