getConnectionWrapper uses whole responseTimeout and returns remaining time