handler exception handling in http methodinfo to change the state to prevent any further calls