Quitting gracefully in Gradio

Hi, I was working on creating an application with Gradio and found that Ctrl + C doesn’t completely close the server and they just accumulate as I create/test more. I found a similar discussion and fix here but even though it appears to fix this issue in version 1.1.0 it doesn’t work on the latest version. Can someone help me with this issue or can guide me as to which platform would be appropriate to discuss this?
Thanks.