Atom Bank sale nearly failed