Python script freezing Grasshopper after run

Hi there,

I just made a quick python script to batch import dxf files in Rhino.

It works, but then GH freezes after it runs, I can zoom in and out but nothing else.
Any ideas on what I’m doing wrong?

RH7SR36 Windows10

Here is the gh file:
insertdxf.gh (8.0 KB)

With the “True-only” button from Pancake it works