remove old db handle