a lawyer can settle a lawsuit