If reading from the file takes too long the server was configured by default to hang-up the request after 5 minutes but there was no error message only an "empty response".
This PR adds a timeout handler using Failsafe to interrupt the reader and return a 504 Gateway Timeout when the reader takes too long.
See #3 for more discussion about the timeout.