fix some stop threads bugs cause change version to 2.7