reduce code duplication
Merge branch 'master' of github.com:dano/aioprocessing