proper support for multi-thread
Merge branch 'master' of https://github.com/hembergerik/sprint_ec_openedx