Threading seems to work, but It needs a workaround, It's not properly saving when you are modifying the ini twice, adding data to it, saving, and re-adding new data and saving It. This will need a proper way, I removed It for now.
There is still some sort of bug with the disconnection, which is...