fix race in finilization of unpin listener