Add a retry function to Util
Retry cabal install 3 times