Disconnecting From Server When in Background iPhone

Options

Hi, I am experiencing an issue with the photon.

here is the scenario of my game, my game is a blockchain-based game that uses the metamask application for the login and deposit method. after players connect with each other we redirect users to the metamask application for around 30-40 seconds but the photon gets disconnected in 10 seconds. we want to increase that time period to 60 seconds. OnApplictionPause and OnApplictionfocous also don't work. according to our game scenario, we cannot reconnect the player to the room. is there any way that we increase photon disconnecting time?