EUCA-8168

Discovered that the memory leak amount is reduce to half when the databox and search collections are properly closed.

However, there exist more memory leak issues, which need to be further investigated.