Avoid concurrent executions when using --watch