BUGFIX: set status ti running before create thread