Joining thread in stop function instead of just in destructor.
Joining thread in stop function instead of just in destructor.

SergiySW/raiblocks,clemahieu/raiblocks,clemahieu/raiblocks,SergiySW/raiblocks,clemahieu/raiblocks,clemahieu/raiblocks,clemahieu/raiblocks,SergiySW/raiblocks,SergiySW/raiblocks,clemahieu/raiblocks,SergiySW/raiblocks