patch applied (cabal): Catch exit exceptions as well as IO exceptions after running programs