Remove LocalHostMessage event
Add local endpoint closing.
CloseEndPoint
code cleanup
update things