iOS application stucks when minimize and maximize from the device menu key

hi,

My application stucks when minimize and maximize from the device menu key , i am play the audio over there when it suspends and come back there i stuck observed .

Also in onSystemEvent applicationResume i am calling this following testNetworkConnection() to test internet connection

function testNetworkConnection()

  local testconnection = socket.tcp()

        testconnection:settimeout(50)

        local result = testconnection:connect(“www.google.com”, 80)

         if not(result == nil) then

          return true

        end

        testconnection:close()

        testconnection=nil

    return false

end 

can anyone please suggest where i am going wrong

Chill bro,

Build cleared form QA

Chill bro,

Build cleared form QA