fix memory leak in slaves accumulating more and more leaseExpired messages and threads