[PLAT-5310] Add lifecycle methods to SessionProvider. Adjust blocking strategy to handle session change boundaries.