set timeout to check existence of picture