main.c calls to close() in lines 873, 878, 928, and 930. close() and similar calls can fail with errno EINTR if interrupted while processing the close call. glibc suggests trying again until it no longer fails with EINTR and provides the TEMP_FAILURE_RETRY macro to centralize the boilerplate of doing so. See http://www.gnu.org/software/libc/manual/html_node/Interrupted-Primitives.html#Interrupted-Primitives