add Reactor timeout ,ready, active flags and delete something useless