Fix session timeout