However fairly late for the question poster, but nevertheless: I just also had this problem. I experienced that the hanging problem was gone immediatlly after I updated python from 3.9.0 to 3.10.0.