changed $LOCK_TIMEOUT_FOR_CACHE_FILE so it is calculated only once (when reading dead servers file).