Added cancel feature while job is being processed