CouchClient.connect() supports onError