Close stdin for ssh executor