cli: close logcache connection from cli requests too