Added missing import and async execution locking logic for messaging channel timeout event