I am reverting this change for now to check the time stamps. Adding getReadLock() doesnt work as the entire flow gets interupted because of this and even the initialization processes doesnt start. I will get back to this at a later stage when other priority development activities for non-osgi sample are done.