Look for race condition in soft input method attach. For bug 8263462. Change-Id: Id0609a743d57ab685c036372100ddd33819bff03