timer.ml and enhancement of flowlog_rpc with errors