Replace thrift jar with buffered one
refactoring AckDistributor, add synchronization test