flush_socket now flushes data through the xml stream parser to prevent the destorying...