eliminate separate api workers to stop SQL error