add ping and auto reconnect to connection pool