Fix odd behaviour with intermediary temp sockets