Test overhead of thread creation