advanced http timeout management