Fix ListenerRepeater does not close socket