ensure client is created