Workaround hanging of ocl module when ocl API in not really used