At any stage of an action or special proceeding under this article, the court may, in its discretion, make all such orders as it may deem proper in connection with preserving the property and carrying on the business of the corporation, including the appointment and removal of a receiver under article 12 (Receivership), who may be a director, officer or member of the corporation.