Implemented renegotiate callback.