Add thread expiration timer.