creates multiple threads for both tcp and udp to test server load and async functionality