Use err_exit in worker.c
Better error message