If there is a war with a diffrent name but the same context root enabled on the wildfly than the one you want to enable, wildfly will fail repeateadly and this will cause the plugin to wait a very long time since it is able to reconnect every time it tries,
Suggestion
Add a flag to disable any deployments with the same context-root and if this flag is false do not try to enable the deployment and just deploy it
If there is a war with a diffrent name but the same context root enabled on the wildfly than the one you want to enable, wildfly will fail repeateadly and this will cause the plugin to wait a very long time since it is able to reconnect every time it tries,
Suggestion
Add a flag to disable any deployments with the same context-root and if this flag is false do not try to enable the deployment and just deploy it