this seems to be the last nail for the issue with closing stderr