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
2 files changed