Ignore exception when sendRedirect is called twice. An exception is generated because senRedirect(String) is called by generateResponse and by the AbstractProject.doBuild.