Application has running ForegroundService. While this service is running it needs to execute some tasks every 5 seconds. It\'s important to measure time interval in elapsed syst