Fix test_server_client test (add a sleep call to 'ensure' the server thread runs before checking the assertion)