make sure model disconnects the db