Remove the attachment of the logging listener

The listener should be attached at another moment and it is not
the responsibility of the worker itself; will reattach it later
in another place.
Remove unused imports and properties from worker