Oh dear lord.. what a muppet..
Fixed leaking tcp stuff and similar root path names