Create sockets/buffers outside of the listening loop