dl fix

deadlock caused by forgotten release