Added print statements while resending all packets in the buffer