Handled services' unregister when sensors/actuators have been removed

Jira Issue: WP-1125