[aptos-workspace-server] indexer support and graceful shutdown (#15183)