If the client fails before properly starting the tests, the teardown isn't called on the worker side, so it stays locked for a long time.
We need to explicitly call the worker teardown on client failure in scenario when for example the config.js validation fails.