R command containing Shiny App does not cancel correctly with SIGINT after upgrade

We recently upgraded our Shiny version from 1.8.0 -> 1.9.1. However, this introduced a bug: To cancel a current command, we would send a SIGINT to Rserve, which would cancel the current command without terminating Rserve (it would throw an 127, but that is handled gracefully). After the Shiny upgrade, if the current command contains a Shiny App (e.g. the one below), then SIGINT no longer does anything, and the command kept running.

Any help appreciated! Thanks a lot.

library(shiny)
ui <- fluidPage(
 titlePanel("Minimal Shiny App"),
 sidebarLayout(
  sidebarPanel(
   sliderInput("num", "Choose a number:", min = 1, max = 100, value = 50)
  ),

  mainPanel(
   textOutput("output")
  )

 )
)
 

server <- function(input, output) {
 output$output <- renderText({
  paste("You selected 2x:", input$num*2)
 })
}

shinyApp(ui = ui, server = server)