Ignore socket.error exceptions when sending/recving.