Rebalance checkConnected()
Rebalance checkConnected()

AtomicBoolean forces the enclosed boolean to be cache-aligned,
needlessly hitting a cacheline. Since we only flip state only once,
when the connection is severed, we can turn this into a volatile
boolean.

Doing that is costing us a synchronized close(), but that is perfectly
acceptable, as that is called only once.

Change-Id: I76fda3d3f65a5f800e7d3970b0b8fe99fb3e8b6d
Signed-off-by: Robert Varga <934bee5bfb2180d3ffa181ef3ed7d341cfd7e2b7@hq.sk>

chrisy/vpp,chrisy/vpp,FDio/vpp,muharif/vpp,chrisy/vpp,chrisy/vpp,chrisy/vpp,GabrielGanne/vpp-flowtable,vpp-dev/vpp,FDio/vpp,muharif/vpp,muharif/vpp,milanlenco/vpp,GabrielGanne/vpp-flowtable,muharif/vpp,vpp-dev/vpp,FDio/vpp,muharif/vpp,milanlenco/vpp,FDio/vpp,FDio/vpp,vpp-dev/vpp,milanlenco/vpp,vpp-dev/vpp,GabrielGanne/vpp-flowtable,GabrielGanne/vpp-flowtable,milanlenco/vpp,GabrielGanne/vpp-flowtable,chrisy/vpp,milanlenco/vpp,vpp-dev/vpp,chrisy/vpp,FDio/vpp,milanlenco/vpp,vpp-dev/vpp,GabrielGanne/vpp-flowtable,chrisy/vpp,muharif/vpp,vpp-dev/vpp,FDio/vpp,FDio/vpp