Parameterise API request timeout