Do not crash if connection times out while sending a file using sendfile