Correctly set O_NONBLOCK flag and disallow further reception using shutdown on saned data fd once a connection is open.