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

Refer https://jira.corp.inmobi.com/browse/DBUS-156 for more details