When the context associated with the socket being polled on is terminated, the poll should break and report POLLERR event on the socket.