A judge who imposed a $45 million penalty on Bank of America Corp. over a foreclosure on a California couple still isn’t ready to forget the case he described as a “Kafkaesque nightmare.”

U.S. Bankruptcy Judge Christopher Klein voiced exasperation Wednesday as the bank sought for the third time to win his approval of a confidential settlement that would nix the monetary penalty and also erase the 107-page ruling he issued in March detailing the bank’s “callous” and “cruel” treatment of the Sundquist family after they sought a mortgage modification.