Increase scope of try block