The town treasurer, in the absence of negligence, shall not be liable for the loss of money deposited within the limits above specified occasioned by the closing or insolvency of a designated depository.