ensure that we only connect to one socket