Start work on using heap instead of memory pool for threads.