Catch the case where we can't start socket-listening.
Catch HUP as well as INT.