Handle all the CouchError exceptions plus the CouchConnectionError exception when calling HeartbeatAPI.updateWorkerHeartbeat() in event loop.
Merge pull request #5006 from AndresTanasijczuk/HandleCISEExceptInBWT

Handle CouchInternalServerError exception