moving client initialization and sending message to async for easier exception handling