implemented master renegotiation on master disconnect