[eluser]smilie[/eluser]
As users manual says:
"Reconnecting / Keeping the Connection Alive
If the database server's idle timeout is exceeded while you're doing some heavy PHP lifting (processing an image, for instance), you should consider pinging the server by using the reconnect() method before sending further queries, which can gracefully keep the connection alive or re-establish it.
$this->db->reconnect();"
I would guess that it closes the connection once PHP is done...
Also in core folder, there is _close() function which closes MySQL connection.
And at the end, most MySQL servers (at least, by default) close connection after some idle time...
Cheers,
Smilie