Set http timeout to 5 minutes

HTTP timeout was not set (= http client could block for ever). This patch sets the timeout to 5 minutes.