add command to manually close input pipe (send CTRL-D / EOF)