Made the GC/expiry check time configurable.