Catch a parser problem, but close the fits file before passing it up the chain.