use interrupt() instead of stop flag
more descriptive debug