[Summary]  Bug fix: mistakenly set states of freewheeling thread.