@guyinpv I don't know if this could be contributing at all, but for your "background jobs" ajax is the default, I would definitely setup a cronjob to do this.
EDIT: It almost certainly looks like this could be contributing, as the database cleanup relies on this.