Fix SQL conversion error
Thread remote HTTP calls