[PATCH 6.2 0788/1001] torture: Fix hang during kthread shutdown phase