Add interrupt handling (don't display error message).

When terminated, the waiting select() returns -1 and caused an error
message to be displayed. Now we check whether errno is EINTR, which
means the programme has been brought down by a system interrupt (and
there is thus no need to worry about errors).