Udb tcp close wait

Use the cc3000 socke state for close wait