ssl connection freezes