added limit parameter to queueing task for testing