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