Called by EglThread when a client releases its reference. Returns true when there are no more references and resources should be released.