notify socket finish