add new featuers: log history, support of non-blocking process