Use API to shut down servers.