added binary exponential backoff to _flush_writes
Initial commit
Merge remote-tracking branch 'upstream/master'