Fixed concurrency issues, multiple connections per worker and auto test scenario

Shouldn't we verify the process has terminated before removing it?