Added a way to deinitialize running services