using StreamCommandListener in integration tests
avoid race condition for deploy/undeploy events