Move trace hooks outside db instance
Fix some continuable bugs
Don't abort closed tcp streams
Make clone much more parallel