Randomly on ref bench we can see pending jobs that that are not treated.
They are not anymore in the queue so not processed, they are still listed in the scheduled list and the work state (with a 'Q' state for scheduled), there are no more data available which mean that the work have been processed or badly submited.
The only drawback is invalid work manager status (displaying scheduled work) and it makes waitForCompletion always timeout (only used in test).
Fixed inconsistency in work manager state when Redis runs out of memory. The new implementation use lua scripts to ensure atomicity and report error on OOM.