Add logging for service shutdown