https://github.com/reactphp/socket/blob/def0730288b2a321db04f22caf86259ab2975cc7/src/TcpConnector.php#L91 This should be handled more gracefully by returning with a rejected promise if it fails to connect.