Created methods to check for time out periods.