prevent class cast exception
ensure motion aborted for any exception type
check for thread interrupts before writing to Nexus file as HDF library absorbs InterruptedExceptions