Fix accept() error handling as described in Linux man page.