Added retries to avoid db.connect issue (possibly caused by initialization lags)
Fixed transactions error callbacks signature
Fixed dispatching both success and error plugin results bug