Fix crash when builder reconnects during a build.