adds more robust proxy timeout behavior