support for stopping a job

Simple patch to allow killing a job through the client library (support already present in SH api).