added pending command check for jarvis