changed then to when
changed then to when
Merge branch 'master' of github.com:ricmrodrigues/runasync