THRIFT-2460 unopened socket fd must be less than zero.
Client: C glib
Patch: Jaesang Kim