Fixed a DB Connection leak in AccountModel.