some codecs or versions of cv2 can't use release()