SOC-3143 | Cannot call sendRedirect() after the response has been committed