changed socket connection with asynktask