make ThreadPool refcounted
update demo server/client
leak fix
fix typ
invalidate all futures, ignore late replies
fix leak
properly treat packets when futures are invalidated
minor update