adding sleep after start and stop of services.