Avoid allocating memory for a thread that don't need it. Also, this memory was not...