Dbus 156: Should close all the streams/files even if it is failed to close one of the streams/files

Refer #26 and #27 for more details