implement connection status notification