Fixed a bug with resolving service modules. Fixed issue where we first stop all services and their dependencies before unloading them.