Make inactivity timeout configurable