bug fix. Before RBatch is crashed when multiple scripts delete the same log-file at the same time by using log_delete_old_log. Now fix it