Only attempt to connect socket once