Working with connected status