Fixed a bug of business crach by remove mutex before/after timePassed in autoRun