Fixed bug when using a CGI server - render is done on "close" not "finish"