add additional memory_usage check

In certain conditions the memory usage might still increase over the allowed maximum... This can happen `$queue->pop()` return null, (no jobs or no connection)

I have seen this happen at least once. A worker running at >500Mb while the threshold was 100Mb. Most certainly by closed EntityManager.