API key should be thread sensitive