Add a sleep to make sure SGE is ready to go before we start messing with stuff.