adapted to use the new error manager + sending diagnostics if rx-do-tx lasts too long + graceful exist state is revised.