Fix MiscUtils: closeSilently should check for nullity
Merge pull request #662 from pdalpra/fix-MiscUtils

Fix MiscUtils: closeSilently should check for nullity