prepared persistent connections
Added persistent connection support