Fix for Bug NMS-6564

The SFTP Connection are not closed when an exception is thrown using
3GPP XML Collector.