Retry sync-all and cabal update