Modified time between exceptions to 5s

The flag for stopping the posts loop is a timespan.
That timespan was modified to break the loop if the timespan between the
exception happening now and the last thrown exception is less than 5
seconds.