we also need to terminate the build after running scan_build.