Fix connecting state