Fixing deadlock on acquire on existing resource + remove and release.