Be sure to withdraw any leftover loans just before closing your bank account