diff --git a/elk-util-parent/elk-util-common/src/main/java/org/semanticweb/elk/io/IOUtils.java b/elk-util-parent/elk-util-common/src/main/java/org/semanticweb/elk/io/IOUtils.java
index <HASH>..<HASH> 100644
--- a/elk-util-parent/elk-util-common/src/main/java/org/semanticweb/elk/io/IOUtils.java
+++ b/elk-util-parent/elk-util-common/src/main/java/org/semanticweb/elk/io/IOUtils.java
@@ -30,6 +30,7 @@ import java.io.File;
 import java.io.IOException;
 import java.io.InputStream;
 import java.io.InputStreamReader;
+import java.io.OutputStream;
 import java.net.URI;
 import java.net.URL;
 import java.security.CodeSource;
@@ -54,6 +55,14 @@ public class IOUtils {
 		}

 	}
 	
+	public static void closeQuietly(OutputStream stream) {
+		if (stream != null) {
+			try {
+				stream.close();
+			} catch (IOException e) {}
+		}
+	}	
+	
 	
 	public static List<String> getResourceNamesFromDir(File dir, String extension) {
 		List<String> testResources = new ArrayList<String>();
a method to quietly close all output streams (as it's done for input stream).