[eluser]Bart v B[/eluser]
I am not sure because i did not look at the code, but my guess is that they are closed when they are not needed anymore.
It's the same i think then when your not using a framework or script just plain php.
In other words, the connection is closed when the php script is loaded.