Do not retry close() on EINTR

This would represent file descriptor corruption in a multi-threaded
program (since the file descriptor number could be reused), but as
Postgres has no such execution such a loop seems harmless for now: the
second loop after EINTR would result in a prectable EBADF and then
subsequently exiting.