OPS-131 Catch error while trying to terminate non-running arrays

Change-Id: I22766a149116bd376a23ff4b437c79d4b6623090