Small changes to connect/disconnect of the MTProtoConnection.