* thread_base improvements: don't call the run method of a thread if the "finish flag" has already been set (the same for thread sleep/delay)