Fix controller and ping controller logic
Remove shared device ownership.