using close channel to wait new bin log