added documentation to dispose of persistent connections