Avoid to close socket doubly