TW: Updated the client to be thread safe for multiple API keys at the same time.