Pursuant to the statute, a court has broad discretion to grant a stay in order to avoid the risk of inconsistent adjudications, application of proof, and potential waste of judicial resources.
Chaplin v. National Grid, NY Slip Op 02493 (2d Dep't April 3, 2019)
Here is the decision.