Avoid to send status data twice on connect.
Removed debug.