Handle error case if kthread doesn't start

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>