Joa,
The reason it would be used is purely for speed since it would not require connecting over and over... see here for more: 34/
But, yes, the issue you have is also a valid concern for persistent connections.
I think, though, you could simply edit the connect script to use a standard connection with no issue. You could also close the connection at the end of your php page if needed.
Cheers,
Brian