Set a small timeout for requests. This may deserve a better solution.