tests: Prevent flaky test_celery_monitor_ping
It exist cases (for instance when running tests on Jenkins) where more than one log record is captured during that test, making it flaky.
See https://jenkins.softwareheritage.org/job/DENV/job/tests/758/artifact/swh-scheduler.log