REALLY avoid useless warning in sockets unless debug