diff --git a/gst/udp/gstmultiudpsink.c b/gst/udp/gstmultiudpsink.c
old mode 100644
new mode 100755
index c1befda..35fdc4c
--- a/gst/udp/gstmultiudpsink.c
+++ b/gst/udp/gstmultiudpsink.c
@@ -381,9 +381,9 @@ socket_error_is_ignorable (void)
 {
 #ifdef G_OS_WIN32
   /* Windows doesn't seem to have an EAGAIN for sockets */
-  return WSAGetLastError () == WSAEINTR;
+  return WSAGetLastError () == WSAEINTR || WSAGetLastError() == WSAECONNREFUSED;
 #else
-  return errno == EINTR || errno == EAGAIN;
+  return errno == EINTR || errno == EAGAIN || errno == ECONNREFUSED;
 #endif
 }
 
