[db] fix: adds missing close dataset in CPVRDatabase