use counting semaphore for user throttling
Merge pull request #1443 from marcel-blonk/PLFM-2891

use counting semaphore for user throttling