Keycloak Desktop Application question

I am using the latest version of keycloak and followed along to the docs for CLI/Desktop Application using keycloak-installed-adapter. Login works well and my desktop application runs after successful login but a browser pops up after login which says page not found. Is there any way to close this browser automatically?