Hacks a fix for the btsync shutdown/startup race condition (it does a bunch of stuff we can't see or check before it goes away).