Workaround for https://github.com/guzzle/guzzle/issues/832