remove endline of log
global log config
fix some resource leak
fix memory leak for timer close connection