cache: Stop lifecheck thread at node->need_exit

So lifecheck thread will stop at the same time as io/net/check
threads, so server stop will be speeded up for a bit.