The functional test should fail if the `chronik::Stop()` is not moved as in this diff, and should pass if `chronik::Stop()` is moved as in this diff.
Alternatively, this should also reproduce the bug:
1. `ninja`
2. IBD for a few minutes
3. Stop the node: No Segmentation fault, no hangup
4. Start the node again, syncs from previous height (without reindexing Chronik)t
5. Go back to 2.