Solve a classic concurrency problem, such as a thread-safe task queue.
Implement run_task_queue(tasks, worker_count), which distributes integer tasks among worker threads using a thread-safe queue. Each task returns the square of its integer, and the function must return results in the original input order regardless of completion order.
def run_task_queue(tasks, worker_count):