Moved the responsibility of creating proxy connections to the worker.
Reintroduced fatal error handling without the memory leaks.