#129 Fix for abort problem, from Pekka Pietikäinen's patch
Merge pull request #150 from appneta/Bug_#129_abort_from_looping

#129 Fix for abort problem, from Pekka Pietikäinen's patch