fix against https://github.com/globaleaks/GlobaLeaks/issues/611
added also store.invalidate to finally kill the memory leak
Merge pull request #176 from globaleaks/fix/memory_leak_2

Tested, good