Wait for the db to be ready for xsweet trying to connect to it, which will resolve the xsweet connect ECONNREFUSED problem.