Make user can control when to stop a job.

I think it's good for user can stop the job (just return False in job_func).