presto-main/src/main/java/io/prestosql/server/ServerConfig.java/ServerConfig/setGracePeriod
class ServerConfig:    @Config("shutdown.grace-period")
    public ServerConfig setGracePeriod(Duration gracePeriod)
    {
        this.gracePeriod = gracePeriod;
        return this;
    }