[test] fix running tests when corenlp is already running

We had 'race' previously and so the tests quit immediately, because
corenlp nix couldn't start.

Now I use 'waitBoth' so that even if corenlp fails to start (because
it's already running on dev machine), the tests will continue.
parent 84bbdd5e
Pipeline #7812 failed with stages
in 144 minutes and 9 seconds