Added explict trapping for stderr on rescue