Not able to find match after keeping app in background

When I keep my Godot Android app in background and return after 1-2 minute then I am not finding any matches the logs are:

2024-03-22 17:12:10.190 18295-18356/com.xansr.boxcricket E/godot: USER ERROR: Condition “ready_state != STATE_OPEN” is true. Returning: FAILED
2024-03-22 17:12:10.190 18295-18356/com.xansr.boxcricket E/godot: at: _send (modules/websocket/wsl_peer.cpp:700)
2024-03-22 17:12:10.190 18295-18356/com.xansr.boxcricket I/godot: === Nakama : DEBUG === Cancelling request: 1
2024-03-22 17:12:10.191 18295-18356/com.xansr.boxcricket I/godot: === Nakama : DEBUG === Resuming request: 1: NakamaException(StatusCode={-1}, Message=‘{Request cancelled.}’, GrpcStatusCode={-1})

@Ayush-Agarwal123 as stated elsewhere, the mobile OS kills the socket connection after the app has been put in the background for some time, your client needs to handle it as it’s part of the lifecycle of mobile apps.