Adding Timeout to Http access