remove superfluous threads after a grace period