Removed unneeded looping inside PacketManager