Fixed race condition on open/release.