close log streaming connections on shutdown