Add API to reschedule a job, fixes #645