How to ensure that there is a delay before a service starts