pvpython and sys.stdin

Hi, a quick question about pvpython - I noticed that it seems to change stdin so that:

>>> sys.stdin
<vtkPythonStdStreamCaptureHelper object at 0x7f36740b5d30>

Can I safely reset sys.stdin = os.fdopen(1) or is the vtk wrapper required for the correct behaviour of pvpython? I need to take some inputs from another thread via the terminal, but the vtk wrapper blocks the main thread too, unfortunately, (which doesn’t happen with python normally).

If it is required to correctly function, can I temporarily assign the vtk pipe to another variable and reassign it back to sys.stdin before I call Paraview-type commands? Or will changing the reference to vtkPythonStdStreamCaptureHelper cause it to be garbage collected?