Making expire delay a runtime parameter