I would like the basicFR to behave in such a way that: it can accept specified number of items at a time. This number is received from an external service using http request. How can I code basicFR so that it can open its input port, accept that number of flow items, close the input port?