Add missing check for pendingConnectException in DatagramSocket.send()

Add check for pendingConnectException in DatagramSocket.send() so that
receive and send handle connection erros the same way.

Co-Authored-By: MÃ¥rten Kongstad <marten.kongstad@sonymobile.com>
Change-Id: I191351c5fe954c0e31c591f3d8369c3f24931a6f
(cherry picked from commit 3a50b32e2abec315948e1947450cd0f7c0c82b2d)
CRs-Fixed: 1051067
2 files changed