added an exception for infinite loading state