Fixing socket, preventing socket spawning