Ports utility is now thread-safe but stateful.