Remove all *.lock files that might exist under your Kiuwan Local Analyzer installation.
This removal can be done executing the following command:
agent.cmd --clean
Additionally, there is configuration property in conf/agent.properties that affects this behavior:
# Max time (in seconds) to wait for running analysis to end before upgrading agent
analysis.timeout=3600
This is the max time (1 hour by default) a new analysis will wait for running analysis to end before upgrading agent. You can reduce this value in case you consider your local analyses should end in less than 1 hour.
Please visit Kiuwan Local Analyzer CLI - Command Line Interface for further information.