schedule expiration for cached items only if an expiration time has been indeed set

if expire_time is 0 , we don't want to automatically expire cached items