Remove unused dependencies.
Pipe queue "error" event to worker.