Added basic limit on # of simultaneous executing tasks.