Switch to a blocking SPSC queue.
A blocking SPSC queue will perform better here and result in less CPU ticks due to its mutex "wakeup" abilities.
Some consumer logic was changed as well. and cleanups are performed as long as the plugin destructor is called ;)