Removed while loop with a 'random' abort condition - while it works
it could result in STK hanging if a broken random generator should be
used.