Fixes unicode problem with beat after adding unicode_literals
Fixes flakes for Issue #2032
Worker now preserves exit code.  Closes #2024