how long does a lawsuit take to settle