There was a race condition where appends may reorder. Fixes #2.