added: turn on flow control if there is more than one packet in the recieve buffer, turn it off if there is one packet or less in it