Drain extra input sequenes before stopping server