I am using elastic beanstalk and tomcat for one of our java application. Whenever I hit a API with wrong endpoint it returns HTTP 404 which is fine but it also retur