The deposit required by this chapter must be for the benefit, security, and protection of the policyholders or creditors, or both, of the insurer in the United States. It shall be maintained as long as there is outstanding any liability of the insurer arising out of its insurance transactions in the United States.