Added asyn lock to the framework
Disabling racy assert for now. Need a fix for the flow soon.