Only cleanup the vpx context when it is actually initialized