Preventing too many activities