Handle limits on WaitForMultipleObjects