Wait and poll for the client thread to start

Signed-off-by: Blair Steven <blair.steven@alliedtelesis.co.nz>