Handle disconnects. Update build config.