Stop distance oracle earlier and quieter during sync
Distance client should stop earlier when syncing, and then do not print anything.
For now it produces these logs:
Mar 01 07:40:59 polux duniter[273763]: 2024-03-01 07:40:59 ⚙️ Syncing 105.5 bps, target=#368008 (9 peers), best: #35858 (0x5cf7…9b6d), finalized #35840 (0x98c1…6533), ⬇ 39.0kiB/s ⬆ 0.6kiB/s
Mar 01 07:41:00 polux duniter[273763]: 2024-03-01 07:41:00 🧙 [distance oracle] Expected exactly one Babe owner key, found 0: oracle cannot work
Mar 01 07:41:04 polux duniter[273763]: 2024-03-01 07:41:04 ⚙️ Syncing 125.4 bps, target=#368009 (9 peers), best: #36485 (0x8e80…08ef), finalized #36352 (0xcc9d…a43b), ⬇ 39.7kiB/s ⬆ 0.8kiB/s
Mar 01 07:41:06 polux duniter[273763]: 2024-03-01 07:41:06 🧙 [distance oracle] Expected exactly one Babe owner key, found 0: oracle cannot work
Mar 01 07:41:09 polux duniter[273763]: 2024-03-01 07:41:09 ⚙️ Syncing 138.5 bps, target=#368010 (9 peers), best: #37178 (0x1c98…9c12), finalized #36864 (0x5009…e4d4), ⬇ 48.5kiB/s ⬆ 1.2kiB/s
Mar 01 07:41:12 polux duniter[273763]: 2024-03-01 07:41:12 🧙 [distance oracle] Expected exactly one Babe owner key, found 0: oracle cannot work
which look bad.
I find it surprising that the inherent provider is run during sync. I guess it should not be the case.