Fix bug with initial send_all