pvr: fix too early finish of recordings