Set lifetime parameter using options.lifetime

If lifetime option is empty or unsetted, the value is setted to ````gc_maxlifetime````