minor fix for lookForAlert when calling remote command again by making timeout a parameter.