Since the plugin requires the sonar param sonar.qualitygate.wait=false to run in a fail case, where if it true the scan waits and fails before the plugin can run.
ref: Failing a pipeline job when the Quality Gate fails
Hence adding a parameter at plugin level to be able to run the plugin and still be able to fail the scan job.