Fix when I close the errors stream