Added check for out of available sessions error.