fixed return code for async job cancellation