The application will lock once the google API asks for authentication with a login.
If duing this time the app is closed and the login process is not completed It will create a Zombie process which will block the port.
Trying the Authentication again will then fail because the port is blocked by the Zombie process.
One solution is to rotate the ports if it is block but the real problem is the Zombie process.
Right now the app will ask for Authentication then the Google Extension is created. After that the Google API Thread is created.
A better way to do it would be to create the google API Thread first and then ask for Authentication to prevent it blocking the Visualisation.
The application will lock once the google API asks for authentication with a login. If duing this time the app is closed and the login process is not completed It will create a Zombie process which will block the port.
Trying the Authentication again will then fail because the port is blocked by the Zombie process. One solution is to rotate the ports if it is block but the real problem is the Zombie process.
Right now the app will ask for Authentication then the Google Extension is created. After that the Google API Thread is created.
A better way to do it would be to create the google API Thread first and then ask for Authentication to prevent it blocking the Visualisation.