minor bugfixes in timeouts related to the session config.