safety check for https://github.com/square/okhttp/issues/348