restore SetMaxInFlight dropped in refactoring

Consumer needs to export a way to update the max-in-flight as a way to pause or resume a client from doing work. This was accidentally dropped in #30