Manage session timeout.