The court may allow an attorney to withdraw from a criminal proceeding upon a showing of good cause. (1973, c. 1286, s. 1.)