postfix template: reduce scope of 'try'  IDEA-132878
(cherry picked from commit f1fb090)
reduce scope of try postfix template (2) after review IDEA-132878
(cherry picked from commit 315f1b9)