Set inactivity timeout