fixed worker to still send back output on failed job