Reset logger went data is sent
DebugState: Do not reset agent if there is an agent