Out of the proceeds of the sales the county treasurer shall transmit to the State Treasurer the total amount then due on the property so sold as shown in the notice, and shall pay to the owner of the property any surplus remaining after the payment to the State Treasurer.