Prevent duplicate logging after resuming from break