during the leader election, return error to client