The thread now stops properly.
Merge branch 'master' of https://github.com/MaPisvk/Project-Iridium.git