Issue #35: added proper exception handling to target finalise
Issue #35: added proper exception handling to target finalise

gift-surg/GIFT-Grab,gift-surg/GIFT-Grab,gift-surg/GIFT-Grab,gift-surg/GIFT-Grab