global serial statistics, remove obsolete code
drop left over data in buffer on next command