Delay in receiving transmittion on adafruit cc3000

I don't see ant connection between the variable name to the long delay I have.

Neither do I, but you should not have 2 variables with the same name so eliminating the problem would be a wise move.