Merge "Check the isInUse with the lock held in MessageQueue" into rvc-dev am: 04dc962d1d

Change-Id: Ie229f36fd62b3c971d268955c299e72200dc5d76