try to load max-duration and idle-timeout from the ENV values