preparing support for job cancellation