menomize sockName

so we don't need to get it more than once from the env