Fixed timer error and implemented a minimum expiration time (generous 1 second).