Ignoring the object disposed exceptions from output