Removed unneccessary duplicate sleep period.