Fixed incorrect break for unsupported TLS

Change-Id: Iabc48f756567adab0ba5f283207d51a7608c0f13
Reviewed-on: http://review.couchbase.org/38225
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>