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

Ahhh, this needs updating.