debugged the uninitialize of dbConnection