smap.client ability to cancel jobs and example