added a limit to task limiting, with a hard coded limit of 1024 for no reason at all :)