finish output to file log.txt in bw4t-client