Fixes #115 Replace the Twisted code in the plugin-worker with plain python stdlib code