modified to check smsExecute process running.