Fix concurrency issue in lifetime manager.

Change-Id: Ic38a127c802b503bcdb7012192c776aa3f013bd1