Wait for last thread in append_object

Bug: pithos.PithosClient.append_object failed to find and join the
last thread