close connection after failed handshake