Start threads only when necessary

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
use different node names in tests

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Typo fix

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Parallelize command processing

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>