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.
Merge pull request #365 from euroelessar/cache_stop

cache: Stop lifecheck thread at node->need_exit