unused import refactoring
flush in NetworkWriter