Added the fix for reconnecting client from @arjan fork: https://github.com/arjan/thrift-erlang/commit/2627a05297107a963928843f4d2864f45d553eb9