Powershell While Loop Timeout