stop thread when log activity destroy