make your code in such way that it is stoppable?
or just kill it via taskmanager?
_________________________
!

download KiXnet