Termination of transmission lines