Try like this, it won't start the next download until the previous one has returned (no five second delay but I believe achieves what you are looking to do ?)
Could not see from your blocks if you were getting content or files, so went for content!
Try like this, it won't start the next download until the previous one has returned (no five second delay but I believe achieves what you are looking to do ?)
Could not see from your blocks if you were getting content or files, so went for content!