Resolve "Too many open files"
Compare changes
There is an issue with opening too many files. This is because in combination with the database some clients are generated multiple times (for all components) and not closed properly in the process.
Related to #384