Pass tts handle to connect_daemon in prepare_sync function