Automatic logout when user closes browser window?

Hi guys, quick question. We designed our app without any explicit logout. The user just closes the browser window.

Is there some sort of timeout that logs out the user after a while when no active connection is established? How long would that timer threshold be? I’m wondering what kind of an effect that behavior would have on the concurrent users.