CLEANUP: Closing connections for echo server
CLEANUP: Closing connections for binary command echo example
CLEANUP: closing connections for shared properties example
CLEANUP: Closing connection for device orientation example.