Fixed possible file handle leak

https://github.com/square/okhttp/issues/112