added fix to timeout for httpconnection