When connection is closed, do not send any more.