clReleaseCommandQueue was moved to the finalize function