Clean-up warnings, add addition check for idleTimeout > maxLifetime.