Listen server wait timeout

Is there a way to configure how much time a listen serveer should wait when opening a map?
I’m referring to the function CreateSession to which I pass the level name and the arguments (mainly the argument “listen”).

I see that after some seconds clients can not find the server anymore, so I think it stops waiting after a defined period of time. Is there some property we can configure to define how much time the server should wait?