Worker: removed ports global variable
Merge pull request #270 from n1k0/worker-remove-ports-global

Worker globals removal: ports