Close VT PTY's. Fixes #10404.
Only close FD's if open. Only wait if alive.
Test if we're closing open PTY's
Merge pull request #13475 from s0undt3ch/issues/10404-vt-ptys-not-released-2014.1

[2014.1] Fix #10404 vt ptys not released
Update to latest bootstrap-script.sh, v2014.06.21
The stable version!
Merge pull request #13628 from s0undt3ch/2014.1

[2014.1] Update to latest bootstrap-script.sh, v2014.06.21