Maybe it hangs, because of the blocking statement and using data parallel.
Sorry, if that’s the case.
Could you post a small code snippet reproducing this error?
Currently I’m clueless, how to debug your error.