Improved robustness of workers and errorhandling to avoid getting in a b...

...ad state when broker dies