Remove threads.