Reconnect to gearman on error

If an admin request times out or otherwise has an error, mark
the connection as failed so that gear will reconnect to the
server.

Change-Id: I644767a79b638619a3f82ddb7220541a804a4f91
Merge "Reconnect to gearman on error"