Added a timeout for file send requests