Fix issue #9997, cancel ongoing PVB on timeout and wait for all PVBs to terminal state