Do While Loop In Powershell Execution Time Out