Revert "lib: let's use the time package for the MaxAge option."

This reverts commit a16910b5476a28c216cf72b2a5d147712298eb95.