"an order under section in terms of which he was placed in the custody of the foster parent or institution concerned has lapsed without its validity being extended by the minister in order to enable him to complete his education or training"