proper handling of Memcached TTL