pthreadpool: add pthreadpool_cancel_job()