retry on ssl handshake exception and POST