Added timeout setting to webapiservice