works, but break thread boundary in http_io_destroy.  need to figure out why
close() isn't propogating through.  could use a close command and see if that
works, but according to bnoordhuis, a close should propogate.