NXDRIVE-36: Initialize error count to 0 in LastKnownState