Respect cancel during export

High dimension data export now periodically checks if the job has been cancelled, and if so aborts. This
prevents transmart from failing to quit if a long running export task is still busy.