Use win32 API Sleep for sleeping