log around remove socket