Enable pseudo connection solver and avoid memory leakage