logging for broken handshakes