now preventing infinite servlet request loop on failure