Release the lock before function return. Change-Id: I8b8ea91965d4bb9e589780d3584dec549e17d413 CRs-Fixed: 2848067
mentioned in commit 80eda8ff