added max queued threads variable