In 2024.2+ the method to load a key from secure password storage is a slow operation and causes an exception.
This PR applies the changes to load the key in a background task to avoid the exception.
The key is cached in memory after it's been retrieved from secure storage to avoid the expensive call at runtime.
Closes https://github.com/getappmap/appmap-intellij-plugin/issues/773
In 2024.2+ the method to load a key from secure password storage is a slow operation and causes an exception. This PR applies the changes to load the key in a background task to avoid the exception. The key is cached in memory after it's been retrieved from secure storage to avoid the expensive call at runtime.