other little typos and a few sleeps to ensure that the service is up and running