Patching processes hang bug