Fix race conditions in katcp client tests
Merge pull request #6 from ska-sa/fix-test_wait_connected

Fix race conditions in katcp client tests