powershell try catch exit with error code