encode_response
Just filling in the hole I see in the trace after `current_sync_for_user`.
wait_for_events