Wait after shell command.