Check BIO_dgram_sctp_wait_for_dry() return value for error