fix stop hook
td-agent feature added for access logs.