[WIP] Fixed #253 - Prevent patch step from being interrupted

why !!? can't you just do if(sync.patching)