if you can run revCGI on your web host you can actually use it to run servers (the cgi process does not "die") but make sure to check with your host that you are within their ToS as they most limit the amount of CPU cycles, ram, time, etc...