make FastI2I.py thread-safe
fix swift process restart problem
no segfault window for swift on Windows
Merge pull request #759 from LipuFei/fix_swift

Fix swift restart problems