Finish cleanup on readline()