added disconnect; fixed nodecache serialization