Close stdio.