agnosticbin: Do not hold the lock while releasing inputbin

Change-Id: I79340822c98cb38a5bca76926f8ce4c09f7f50a5