first cut at making PacketSender use QWaitCondition