fix closed send socket