Major bugfix and performance improvements
Major bugfix and performance improvements

- Major bugfix: only one thread could be terminated with poisoning.
- Performance improvement: no unnecessary queue creation when threads = 0.
axel-events/axel