After replacing the "refresh" threads with timers, the problem disappeared. For some reason, the refresh events were not being queued properly by the detached threads, especially after system reboot.
Thank you very much for your help and Happy New Year
