Ensure worker doesn't crash on API errors

https://github.com/rackspace-titan/qonos/issues/98