After enough time passess jobs stop getting processed

After a few days the worker process stops doing its job. The worker process is still running.

Adding a new worker gets it going again but I do not know why a backlog starts forming.

Any advice in figuring this out would be appreciated.