kthread: allow to cancel kthread work