Fix close buffChannel crash when flume agent is closed.