Deal with SSL errno 2 in timeout mode