Kenneth,
If you deactivate the OData service, then the http call itself would fail. So you no longer have control in the ABAP layer. You may want to put that logic in UI5 app.
Why don't you just remove the role (containing the app tile) from the frontend server? That would be ideal.
Regards
Krishna