app/quota: implement releaseUnits

Related to #626.