Enabling not blocking IO so that a stop signal can actually interrupt
the server's request listening loop.

see "man select" for more details.

Added more testing