allow job_set_waiting only on running jobs (action #1733)
Merge pull request #26 from cwh42/master

allow job_set_waiting only on running jobs (action #1733)