Adjusting connecting state