handled http 504 gateway timout on provider search request