This should skip loading more posts when they're already being loaded. Otherwise, if you scroll up and down several times the task to load more posts will run several times.