make sure registry is loaded before starting server