Wait for server to acknowledge sent objects before updating remote refs

Addresses #784