Ensure api calls to db do NOT occur on non-server processes.