add kaj(kill all jobs) function