server/sample: remove usage of thread utils