Fix swift restart problems

* Make FastI2I more thread-safe
* Make swift to restart correctly after crashing
Right... I forgot. It should be set in ```stop()```