Re-init socket after close