lep: create sockets early