how long does it take to settle a lawsuit