framework for terminating gatan ion beam instruments