Added a delay between sends. Delay should be an arguement.