Slave goes through 'switchToSlave' process on every 'masterIsElected' event