Added Inactivity timer (not functional yet).