feat(task): broadcast the server exit code