Added default timeout to waitFor method.