Fix gcc-4.9 compiler error: undeclared ::close()
Supress DebuggerOutput from double print messages