Add method pconnect for persistent connections