* close socket before we try to connect somewhere else