Proper clean of OpenCL resources at exit time.