utils_cmd_flush.c: Terminate all lines printed to the socket with a newline.