I've never got any exception connected with closing DB.
The only thing I've ever got was about not closing cursor but not entire DB.