ooiion-1327 Fix validation check in _instruments_shutdown_and_terminate

@jamie-cyber1 please review