Revert "Fixed: incorrect timeout handling in http"

This reverts commit 94c06830038f95d406eddf114d0589ddcaf2abcf.