Preventing parallel execution