Better lifecycle of services

Signed-off-by: Umair Khan <omerjerk@gmail.com>