fix socket retry error