private void onReceiving(int statusCode, String responseText, boolean connected) {
if (statusCode != Response.SC_OK) {
if (!connected) {
super.disconnect();
listener.onError(new StatusCodeException(statusCode, responseText), connected);
}
}
else {
int index = responseText.lastIndexOf(SEPARATOR);
if (index > read) {