fix #61: crashed when cancelling scanning
Merge pull request #62 from thoemmi/issue-61

fix #61: crashed when cancelling scanning