Implement shutdown callbacks for inserts. Was already written for splitfile insert but wasn't used.
Logging
Update comment, add FIXME
Logging, comment
Create the MemoryLimitedJobRunner in the NodeClientCore
Implement a thread limit for MemoryLimitedJobRunner, and a reasonable heuristic for the limit in the node.
Make memory usage for FEC configurable too.
Increase the default memory limit for FEC if we have a lot of memory
Add FIXMEs
Reduce the number of threads to half the available processors. There will be some disk I/O as well, but even so we don't want to have a measurable impact on system performance...