Any payment made by a garnishee in compliance with, and any execution levied against a garnishee under a garnishee order is a valid discharge of the garnishee's liability to the judgment debtor to the extent of the amount paid or levied even if subsequently the garnishee proceedings are set aside or the order from which they arose is reversed or varied.