Fixed bug in CouchManagerApi.autoretry()