del_thread doesn't remove the sleeping timer, which may cause segfaults when using ngx.thread.kill_sleeping.
Now removing the timer.