Prevent simultaneous scripts execution.