avoid pointing to Connection from Session

instead, remove the need. the only reason for that pointer was to
be able to close connections, so do that directly instead.