agnosticbin2: Do not deadlock if element is released from its own thread

Change-Id: I275ac80603719d63e838ada116fc832d6de4b544