Fixed parsing of lease time from options.
Update expiration time when a lease is acquired.