stops disconnecting on view appear