gidstorage does not stop if storage is empty fix
allFulfilled does resolve sometimes fix

If allFulfilled receive a fulfilled and a rejected promise then the
allFulfilled promise is never resolved. Fixed.
gidstorage returns undefined fix
replicate avoid to sync twice