dethreadify python worker