Rewrite to work for .net 3.5

Changed sleep time