The existing utility method to query events from event history returns 0 when the lookup fails due to timeout, instead of throwing the exception.
https://github.com/adobe/aepsdk-core-android/blob/main/code/core/src/main/java/com/adobe/marketing/mobile/launch/rulesengine/HistoricalEventsQuerying.kt
The caller could interpret this as event not existing in event history instead of being aware that the look up failed. We should throw the exception for the caller to handle appropriate instead of returning 0