Don't open socket again if already open.