Fix green select to receive notifications about closed sockets