The function of hydrostatic release unit (HRU) is