cli_wallet SON related tests randomly fail

During CI/CD execution, it may happen that some SON related tests randomly fail. eg, out of 20 executiopns, it will fail once. If restarted, CI/CD might complete successfully

    {"name":"sonaccount2"}
    th_a  wallet.cpp:1453 upgrade_account 
[1;36;49mCleanup cli_wallet::boost_fixture_test_case[0;39;49m
3241507ms th_a       database_api.cpp:405          ~database_api_impl   ] freeing database api 94431919801648
3241508ms th_a       database_api.cpp:405          ~database_api_impl   ] freeing database api 94431920445952
3241508ms th_a       database_api.cpp:405          ~database_api_impl   ] freeing database api 94431920060016
3241606ms p2p        thread.cpp:246                exec                 ] thread canceled: 9 canceled_exception: Canceled

    {}
    p2p  thread_d.hpp:477 start_next_fiber
unknown location(0): [4;31;49mfatal error: in "son_cli/select_top_fifteen_sons": unknown type[0;39;49m
/var/lib/gitlab-runner/builds/PRNhrcsP/0/PBSA/peerplays/tests/cli/son.cpp(64): [1;36;49mlast checkpoint[0;39;49m
3242135ms th_a       application.cpp:79            create_example_genes ] Allocating all stake to 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3
3242138ms th_a       bookie_plugin.cpp:468         plugin_initialize    ] bookie plugin: plugin_startup() begin
3242138ms th_a       db_management.cpp:294         force_slow_replays   ] enabling slow replays
3242138ms th_a       bookie_plugin.cpp:501         plugin_initialize    ] bookie plugin: plugin_startup() end
3242138ms th_a       witness.cpp:91                plugin_initialize    ] witness plugin:  plugin_initialize() begin

Eg, CI/CD fails: https://gitlab.com/PBSA/peerplays/-/jobs/2096014739#L1156

Same code, executed again: https://gitlab.com/PBSA/peerplays/-/jobs/2096508914

The error shows up regardless of build configurations, like build type and testnet vs mainnet

cmake -DCMAKE_BUILD_TYPE=Debug
cmake -DCMAKE_BUILD_TYPE=RelWithDebugInfo
cmake -DCMAKE_BUILD_TYPE=Release

This should mean that we are not looking into Debug vs Release build related problem.