modify tcp connect result check