Remove the use of MonadCatchIO