(2) The court may, in its discretion, waive the 45-day period as prescribed by subsection (1) of this section upon stipulation of the parties or upon written motion supported by affidavit setting forth facts which satisfy the court that such waiver is warranted. [1963 c.434 §6; 1965 c.625 §4; 1975 c.228 §1; 2011 c.114 §2]