fix hashtable kthread bug