Appropriate to the goal, but the module is just going to give you the tools you need to write query-killing features, rather than actually doing it for you. Every application is going to have unique circumstances about how to connect to the database, so I'm not sure how I could build that into the module.
So, as it stands, it is just the piece that watches for the socket to get disconnected, and "does stuff" that you tell it to do, like send signals, close connections to hosts, or exec external commands.