Prevent concurrent build tasks to run on the same build configuration

nRF Connect for VS Code

tags
nRF Connect for VS Code

We addressed an issue where pressing the Build and Pristine build buttons in close succession would cause two builds to launch in parallel, leading both of them to break. We made changes to the extension to prevent this from happening.