better handle IO error in Solr log stream redirect when app is closed