Disconnect connection on handshake error.

Change-Id: I0d3e42852e0bbd342f2778608338f4fabbba696a
Signed-off-by: Rob Adams <readams@readams.net>