fixed exception handling in single worker mode
Merge branch 'master_rw' of systopia.github.com:systopia/pycivi into master_rw