Fixed infinite loop bug in Service::BeginExecuteCheck.