Error service hassio.addon_stdin rpc_shutdown

with the latest Home Assistant updates this service is no longer available: hassio.addon_stdin
and consequently the RPC Shutdown component no longer works for me. How can I fix it has been replaced by another service?