HH-45307 fix calling template_postprocessor after HTTPError

https://github.com/hhru/tornado/pull/10/files?w=1