MDCCloseable instead of Closeable to avoid throwing of IOException

Avoid throwing IOException in putCloseable...