avoid undocumented function ssl.pending