Retry the cabal install 3 times