Issue #35: added proper exception handling to factory disconnect
Issue #35: added proper exception handling to factory disconnect

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