Client forking to prevent leaks and improve perf