onFirstPacketReceived