This ticket is referencing the work done by @clue in reactphp/socket#290. A global error handler may interrupt our code flow and unset the error reported to us (reactphp/socket#286). The future logic should make sure to set a custom error handler before invoking any functions that may report an error and restore the original error handler afterwards.