Simplify Hosting's shutdown handling. Don't require a TTY on Unix.
Simplify Hosting's shutdown handling.
Don't require a TTY on Unix.

aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore