Make sure you get your Answer filed before the time is up regardless of what stage the settlement negotiations are in.
It's a procedural thing and has nothing to do with what you do outside of court and failure to file could result in a default judgment against you.
If you make a deal, get it in writing, and make it contingent that the lawsuit be dismissed, and make sure you get the motion or stipulation for dismissal in your hand when you pay.

