Improved robustness of workers and errorhandling to avoid getting in a bad state when broker dies