api: only start rq if kernel gateway available
api: only start rq if kernel gateway available

materialsproject/MPContribs,materialsproject/MPContribs,materialsproject/MPContribs,materialsproject/MPContribs