Add retry logic in wait for GRES files

Wait up to 20 seconds for gres.conf file before exiting.