WIP: Experimenting with modifying CGI close behaviour
WIP: changes to go API