Fix Aktualizr cycle event concurrency
Fix Aktualizr cycle event concurrency

Mutex on small part of code

advancedtelematic/aktualizr,advancedtelematic/aktualizr,advancedtelematic/aktualizr,advancedtelematic/aktualizr,advancedtelematic/sota_client_cpp,advancedtelematic/sota_client_cpp