* add setMaxInactiveIntervalInSeconds * add default value for maxInactiveIntervalInSeconds Fixes gh-105