fixed crash on timouted https connections