update connection pooling. fix SSCursor bug.