Ignore CAP END when received multiple times
This fixes a segfault when CAP END was received after the capabilty negotiation was already over.