In my application users can create GUI Widgets (written in Python using PyQt5) at runtime and these widgets create network connection resources (c-library binding, the connectio