If a repository needs recovery after reboot and a new process is using the old pid `bfsync recover foo.bfsync` will fail. A workaround is to remove `foo.bfsync/processes/<pid>` manually.