Improve resource handling in releaseAll by making WebCLProgram an Owner.