TCP connect and send delay fix (#6213)
TCP connect and send delay fix (#6213)

* TCP connect and send delay fix
Implement early exit as connection established or data already sent.
(Previous implementation was exiting only on timeout expired)

sticilface/Arduino,sticilface/Arduino,sticilface/Arduino,esp8266/Arduino,esp8266/Arduino,esp8266/Arduino,sticilface/Arduino,esp8266/Arduino,sticilface/Arduino,esp8266/Arduino