When we disconnect from a badly-behaving peer, save the reason in the peer database