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

Change-Id: I275ac80603719d63e838ada116fc832d6de4b544

KurentoLegacy/gst-kurento-plugins,KurentoLegacy/gst-kurento-plugins,KurentoLegacy/gst-kurento-plugins,TribeMedia/kms-core,shelsonjava/kms-core,TribeMedia/kms-core,TribeMedia/kms-core,KurentoLegacy/gst-kurento-plugins,shelsonjava/kms-core,ESTOS/kms-core,Kurento/kms-core,TribeMedia/kms-core,shelsonjava/kms-core,Kurento/kms-core,Kurento/kms-core,ESTOS/kms-core,Kurento/kms-core,ESTOS/kms-core,shelsonjava/kms-core,ESTOS/kms-core