Clean-up Service settings

Hello,

We have opted for an MS SQL database for the underlying PresConnect database instead of the proposed MariaDB.
The clean-up service has been set up and is executed periodically. However, sometimes we experience some unclear issues that we cannot explain.
Sometimes the clean-up script is started 40 times in a row, with a notification that it is already running. We also suspect that this clean-up process is sometimes blocking the tasks that need to be performed, leading to potential deadlocks.

Which settings for the clean-up service are correct?
And what are the possible considerations to take into account?

These are the default Clean-up Service settings and these are in most cases more than sufficient.