correct close handling on 2nd proto violation