Commented out sleep() function which already exists on Windows.
Make shares count correctly.